From 2efe75289bd693cc0b87a4038f568055bcb80405 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 23 Mar 2006 17:22:25 +0000 Subject: [PATCH] Explictly init tm struct. --- holux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/holux.c b/holux.c index a020a8bbe..f3f44876a 100644 --- a/holux.c +++ b/holux.c @@ -90,6 +90,7 @@ static void data_read(void) struct tm tm; struct tm *ptm; + memset(&tm, 0, sizeof(tm)); HxWpt = xcalloc(GM100_WPO_FILE_SIZE, 1); -- 2.30.2